package com.zt.chatgpt.common;

/**
 * @author: zt
 * @Description: 通用类
 * @create: 2024-05-10 21:59
 */

public class Constants {
    public final static String NULL = "NULL";


    /**
     * openAi支持的请求角色类型：system,user,assistant
     */
    public enum Role {

        SYSTEM("system"),
        USER("user"),
        ASSISTANT("assistant"),
        ;

        private String code;

        Role(String code) {
            this.code = code;
        }

        public String getCode() {
            return code;
        }

    }
}
